package com.wei.czz.framework.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2023-03-30 16:44:48
 * className: UserContactFlowEntity 用户联系方式记录表实体类
 * version: 1.0
 * description:
 * 	用户联系方式记录表
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_contact_flow")
public class UserContactFlowEntity extends BaseEntity {

	/**
	 * 主键
	 * 主键类型：雪花主键
	 */
	@TableId
	private Long id;

	/**
	 * 用户主键
	 */
	private Long userId;

	/**
	 * 类型[0-手机号 1-邮箱号]
	 */
	private Integer type;

	/**
	 * 方式[0-绑定 1-解绑]
	 */
	private Integer mode;

	/**
	 * 值
	 */
	private String contact;

	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteFlag;

	/**
	 * 删除时间
	 */
	private Date deleteTime;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 创建用户
	 */
	private Long createUser;

}
